package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 合同协议积分使用表
 * </p>
 *
 * @author LX
 * @since 2018-09-17
 */
@TableName("erp_contract_integral")
public class ErpContractIntegral extends Model<ErpContractIntegral> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    /**
     * 活动名称
     */
    @TableField("int_name")
    private String intName;
    /**
     * 开始时间
     */
    @TableField("date_start")
    private String dateStart;
    /**
     * 结束时间
     */
    @TableField("date_end")
    private String dateEnd;
    /**
     * 服务网点
     */
    @TableField("int_dot")
    private String intDot;
    /**
     * 积分标的
     */
    @TableField("int_bid")
    private String intBid;
    /**
     * 百分比
     */
    @TableField("int_percentage")
    private String intPercentage;
    /**
     * 积分使用
     */
    @TableField("int_play")
    private String intPlay;

    @TableField("contract_id")
    private Integer contractId;
    
    

    public Integer getContractId() {
		return contractId;
	}

	public void setContractId(Integer contractId) {
		this.contractId = contractId;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getIntName() {
        return intName;
    }

    public void setIntName(String intName) {
        this.intName = intName;
    }

    public String getDateStart() {
        return dateStart;
    }

    public void setDateStart(String dateStart) {
        this.dateStart = dateStart;
    }

    public String getDateEnd() {
        return dateEnd;
    }

    public void setDateEnd(String dateEnd) {
        this.dateEnd = dateEnd;
    }

    public String getIntDot() {
        return intDot;
    }

    public void setIntDot(String intDot) {
        this.intDot = intDot;
    }

    public String getIntBid() {
        return intBid;
    }

    public void setIntBid(String intBid) {
        this.intBid = intBid;
    }

    public String getIntPercentage() {
        return intPercentage;
    }

    public void setIntPercentage(String intPercentage) {
        this.intPercentage = intPercentage;
    }

    public String getIntPlay() {
        return intPlay;
    }

    public void setIntPlay(String intPlay) {
        this.intPlay = intPlay;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpContractIntegral{" +
        ", id=" + id +
        ", pid=" + pid +
        ", intName=" + intName +
        ", dateStart=" + dateStart +
        ", dateEnd=" + dateEnd +
        ", intDot=" + intDot +
        ", intBid=" + intBid +
        ", intPercentage=" + intPercentage +
        ", intPlay=" + intPlay +
        "}";
    }
}
